package cn.touna.jss.modules.third.youfen.entity;

import cn.touna.risk.api.contraints.IdCard;
import cn.touna.risk.api.contraints.facet.First;
import cn.touna.risk.api.contraints.facet.Second;

import javax.validation.constraints.NotNull;

/**
 * \* User: MeiZhongHao
 * \* Date: 2018-05-04
 * \* Time: 15:09
 * \* Description:
 * \
 */
public class YoufenRequestEntity {
    
    @IdCard(message = "身份证校验失败", groups = {First.class,Second.class})
    private String idCard;

    @NotNull(message = "名字不能为空", groups = {Second.class})
    private String name;
    /**
     * 性别
     */
    private String sex;
    /**
     * 常驻城市
     */
    private String upor;
    /**
     * 常出行城市
     */
    private String travelCity;
    /**
     * 城市等级
     */
    private String cityLevel;

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getUpor() {
        return upor;
    }

    public void setUpor(String upor) {
        this.upor = upor;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTravelCity() {
        return travelCity;
    }

    public void setTravelCity(String travelCity) {
        this.travelCity = travelCity;
    }

    public String getCityLevel() {
        return cityLevel;
    }

    public void setCityLevel(String cityLevel) {
        this.cityLevel = cityLevel;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}